<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<script type="text/javascript" charset="UTF-8" src="js/prefixfree.min.js"></script>
	<link rel="stylesheet" type="text/css" href="css/base.css" media="all" />
	<link rel="stylesheet" type="text/css" href="css/self.css" media="all" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="../viewport" content="width=device-width, initial-scale=1">
	<link href="css/bootstrap.css" rel="stylesheet">
	<script src="js/jquery-1.12.4.min.js"></script>
	<script src="js/bootstrap.js"></script>
<style>
	#screen{
		width:90%;
		margin:5% 5%;
	}
</style>
</head>
<body>
	<c:if test="${admin!=null }">
		<div class="jumbotron"  id="screen">
			<h1>欢迎进入小米官网后台管理!</h1>
			<h2 id="user">欢迎管理员!${admin.uname }</h2>
		</div>
	</c:if>	
	<c:if test="${admin==null }">
		<div class="jumbotron"  id="screen">
			<h1>请先登录!即将跳转登录...</h1>
			<h3 style="float: right;"><a href="index.html">手动跳转</a></h3>
		</div>
	</c:if>	
	<script type="text/javascript">
		//id:${user.uid }
	</script>
</body>